package com.naxian.service.resumeWrite;

import com.github.pagehelper.PageInfo;
import com.naxian.pojo.Persons;
import com.naxian.pojo.Resumes;
import com.naxian.util.JsonResult;

import java.util.Date;
import java.util.List;

public interface ResumesService {
    //添加简历
    public boolean save(Resumes resumes);

    //修改简历
    public boolean update(Resumes resumes);
    //根据主键查询简历
    public List<Resumes> getByPerId(int perId);
    //添加数据
    public boolean insert(Resumes resumes);
    //根据手机号查询
    public JsonResult getByTelno(Long perTel);
    //根据简历id查询数据
    public List<Resumes> getByResumeId(Integer resumeId);
    //根据用户名查询简历信息
    public JsonResult getByPerName(String perName);
    //根据简历id删除简历
    public JsonResult delectByResumeId(Integer resumeId);

    //根据简历创建时间查询简历id
    public Integer getByResumeCreateTime(Date resumeCreateTime);
}
